#include <iostream>
#include "LinuxCamera.h"
#include <unistd.h>

using namespace std;

int main(int argc, char *argv[])
{
    LinuxCamera camera;
    minIni *ini = new minIni("config.ini");
    camera.Initialize(0);
    camera.SetCameraSettings(CameraSettings());
    camera.LoadINISettings(ini);
    while(1){
        camera.CaptureFrame();
        cout << "Hello World!" << endl;
        usleep(10000);
    }
    return 0;
}
